2024-03-05 20:34:40,205 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2024-03-05 20:34:40,265 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2024-03-05 20:34:40,656 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2024-03-05 20:34:40,670 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 20:34:40,693 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 20:34:40,695 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 20:34:40,695 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 20:34:40,724 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 20:34:40,724 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 20:34:40,724 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 20:34:40,724 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 20:34:40,724 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 20:34:40,760 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 20:34:40,763 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2024-03-05 20:34:40,763 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 20:34:40,763 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 20:34:40,772 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 20:34:40,772 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 20:34:40 2024-03-05 20:34:40,773 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 20:34:40,773 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:40,774 INFO util.GSet: 2.0% max memory 7.7 GB = 156.8 MB 2024-03-05 20:34:40,774 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 20:34:40,799 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 20:34:40,799 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 20:34:40,804 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 20:34:40,804 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 20:34:40,804 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 20:34:40,805 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 20:34:40,823 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2024-03-05 20:34:40,824 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2024-03-05 20:34:40,824 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2024-03-05 20:34:40,824 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2024-03-05 20:34:40,832 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 20:34:40,832 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:40,832 INFO util.GSet: 1.0% max memory 7.7 GB = 78.4 MB 2024-03-05 20:34:40,832 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 20:34:40,843 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 20:34:40,843 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 20:34:40,843 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 20:34:40,843 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 20:34:40,847 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 20:34:40,848 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 20:34:40,852 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 20:34:40,852 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:40,852 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-03-05 20:34:40,852 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 20:34:40,861 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 20:34:40,861 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 20:34:40,861 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 20:34:40,863 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 20:34:40,863 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 20:34:40,865 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 20:34:40,865 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:40,865 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-03-05 20:34:40,865 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 20:34:40,884 INFO namenode.FSImage: Allocated new BlockPoolId: BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:40,899 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2024-03-05 20:34:40,902 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2024-03-05 20:34:40,939 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 20:34:40,940 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 20:34:41,057 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-03-05 20:34:41,057 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-03-05 20:34:41,070 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2024-03-05 20:34:41,109 INFO namenode.FSNamesystem: Stopping services started for active state 2024-03-05 20:34:41,110 INFO namenode.FSNamesystem: Stopping services started for standby state 2024-03-05 20:34:41,111 INFO namenode.NameNode: createNameNode [] 2024-03-05 20:34:41,155 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2024-03-05 20:34:41,226 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2024-03-05 20:34:41,226 INFO impl.MetricsSystemImpl: NameNode metrics system started 2024-03-05 20:34:41,253 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2024-03-05 20:34:41,253 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2024-03-05 20:34:41,296 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 20:34:41,307 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2024-03-05 20:34:41,311 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2024-03-05 20:34:41,320 INFO util.log: Logging initialized @1597ms to org.eclipse.jetty.util.log.Slf4jLog 2024-03-05 20:34:41,381 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 20:34:41,384 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2024-03-05 20:34:41,390 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 20:34:41,392 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2024-03-05 20:34:41,392 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 20:34:41,392 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 20:34:41,394 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2024-03-05 20:34:41,394 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2024-03-05 20:34:41,394 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2024-03-05 20:34:41,420 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2024-03-05 20:34:41,428 INFO http.HttpServer2: Jetty bound to port 46851 2024-03-05 20:34:41,429 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 20:34:41,447 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 20:34:41,447 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 20:34:41,448 INFO server.session: node0 Scavenging every 600000ms 2024-03-05 20:34:41,458 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 20:34:41,460 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@6bb7cce7{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 20:34:41,460 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@2c0f7678{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 20:34:41,522 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@1473b8c0{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2024-03-05 20:34:41,533 INFO server.AbstractConnector: Started ServerConnector@3dedb4a6{HTTP/1.1, (http/1.1)}{localhost:46851} 2024-03-05 20:34:41,533 INFO server.Server: Started @1810ms 2024-03-05 20:34:41,538 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 20:34:41,553 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 20:34:41,554 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 20:34:41,554 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 20:34:41,554 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 20:34:41,554 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 20:34:41,555 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 20:34:41 2024-03-05 20:34:41,555 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 20:34:41,555 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:41,555 INFO util.GSet: 2.0% max memory 7.7 GB = 156.8 MB 2024-03-05 20:34:41,555 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 20:34:41,560 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 20:34:41,560 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 20:34:41,560 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 20:34:41,560 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 20:34:41,560 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 20:34:41,561 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 20:34:41,561 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 20:34:41,561 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:41,561 INFO util.GSet: 1.0% max memory 7.7 GB = 78.4 MB 2024-03-05 20:34:41,561 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 20:34:41,573 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 20:34:41,574 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 20:34:41,574 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 20:34:41,574 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 20:34:41,574 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 20:34:41,574 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 20:34:41,574 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 20:34:41,574 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:41,574 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-03-05 20:34:41,574 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 20:34:41,578 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 20:34:41,578 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 20:34:41,578 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 20:34:41,578 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 20:34:41,578 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 20:34:41,578 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 20:34:41,578 INFO util.GSet: VM type = 64-bit 2024-03-05 20:34:41,578 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-03-05 20:34:41,578 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 20:34:41,587 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 437@9f2ecfffb0c2 2024-03-05 20:34:41,590 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 437@9f2ecfffb0c2 2024-03-05 20:34:41,591 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2024-03-05 20:34:41,591 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2024-03-05 20:34:41,592 INFO namenode.FSImage: No edit log streams selected. 2024-03-05 20:34:41,592 INFO namenode.FSImage: Planning to load image: FSImageFile(file=/hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000, cpktTxId=0000000000000000000) 2024-03-05 20:34:41,607 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2024-03-05 20:34:41,608 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2024-03-05 20:34:41,612 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2024-03-05 20:34:41,614 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2024-03-05 20:34:41,614 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2024-03-05 20:34:41,618 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2024-03-05 20:34:41,618 INFO namenode.FSEditLog: Starting log segment at 1 2024-03-05 20:34:41,632 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2024-03-05 20:34:41,632 INFO namenode.FSNamesystem: Finished loading FSImage in 51 msecs 2024-03-05 20:34:41,766 INFO namenode.NameNode: RPC server is binding to localhost:12222 2024-03-05 20:34:41,766 INFO namenode.NameNode: Enable NameNode state context:false 2024-03-05 20:34:41,772 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 20:34:41,780 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2024-03-05 20:34:41,942 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2024-03-05 20:34:41,952 INFO namenode.LeaseManager: Number of blocks under construction: 0 2024-03-05 20:34:41,957 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2024-03-05 20:34:41,959 INFO blockmanagement.BlockManager: initializing replication queues 2024-03-05 20:34:41,959 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2024-03-05 20:34:41,959 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2024-03-05 20:34:41,959 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2024-03-05 20:34:41,970 INFO blockmanagement.BlockManager: Total number of blocks = 0 2024-03-05 20:34:41,970 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2024-03-05 20:34:41,970 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2024-03-05 20:34:41,970 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2024-03-05 20:34:41,970 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2024-03-05 20:34:41,970 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 11 msec 2024-03-05 20:34:41,983 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 20:34:41,984 INFO ipc.Server: IPC Server listener on 12222: starting 2024-03-05 20:34:41,986 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2024-03-05 20:34:41,988 INFO namenode.FSNamesystem: Starting services required for active state 2024-03-05 20:34:41,988 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2024-03-05 20:34:41,992 INFO namenode.FSDirectory: Quota initialization completed in 4 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2024-03-05 20:34:41,995 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2024-03-05 20:34:42,002 INFO hdfs.MiniDFSCluster: Starting DataNode 0 with dfs.datanode.data.dir: [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1,[DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,036 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 20:34:42,043 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,067 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2024-03-05 20:34:42,070 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 20:34:42,073 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2024-03-05 20:34:42,077 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2024-03-05 20:34:42,077 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 20:34:42,080 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2024-03-05 20:34:42,085 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:42915 2024-03-05 20:34:42,086 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2024-03-05 20:34:42,086 INFO datanode.DataNode: Number threads for balancing is 100 2024-03-05 20:34:42,100 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 20:34:42,100 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2024-03-05 20:34:42,102 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 20:34:42,103 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2024-03-05 20:34:42,103 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 20:34:42,103 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 20:34:42,105 INFO http.HttpServer2: Jetty bound to port 33653 2024-03-05 20:34:42,106 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 20:34:42,107 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 20:34:42,107 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 20:34:42,107 INFO server.session: node0 Scavenging every 600000ms 2024-03-05 20:34:42,108 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@63dfada0{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 20:34:42,108 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@35a60674{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 20:34:42,115 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@d1d8e1a{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2024-03-05 20:34:42,116 INFO server.AbstractConnector: Started ServerConnector@216e9ca3{HTTP/1.1, (http/1.1)}{localhost:33653} 2024-03-05 20:34:42,117 INFO server.Server: Started @2394ms 2024-03-05 20:34:42,216 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2024-03-05 20:34:42,285 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:46229 2024-03-05 20:34:42,286 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 20:34:42,287 INFO datanode.DataNode: dnUserName = clickhouse 2024-03-05 20:34:42,287 INFO datanode.DataNode: supergroup = supergroup 2024-03-05 20:34:42,298 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 20:34:42,299 INFO ipc.Server: Starting Socket Reader #1 for port 0 2024-03-05 20:34:42,304 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:43473 2024-03-05 20:34:42,329 INFO datanode.DataNode: Refresh request received for nameservices: null 2024-03-05 20:34:42,330 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2024-03-05 20:34:42,337 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2024-03-05 20:34:42,342 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 20:34:42,342 INFO ipc.Server: IPC Server listener on 0: starting 2024-03-05 20:34:42,494 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2024-03-05 20:34:42,496 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2024-03-05 20:34:42,498 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 437@9f2ecfffb0c2 2024-03-05 20:34:42,498 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 1352604391. Formatting... 2024-03-05 20:34:42,499 INFO common.Storage: Generated new storageID DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 20:34:42,510 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 437@9f2ecfffb0c2 2024-03-05 20:34:42,510 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 1352604391. Formatting... 2024-03-05 20:34:42,510 INFO common.Storage: Generated new storageID DS-b152ccff-2245-4380-8964-81c3c33cf9ca for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,530 INFO common.Storage: Analyzing storage directories for bpid BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,530 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,530 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 and block pool id BP-1360534386-172.17.0.2-1709649280877 is not formatted. Formatting ... 2024-03-05 20:34:42,531 INFO common.Storage: Formatting block pool BP-1360534386-172.17.0.2-1709649280877 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1360534386-172.17.0.2-1709649280877/current 2024-03-05 20:34:42,547 INFO common.Storage: Analyzing storage directories for bpid BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,547 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,547 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 and block pool id BP-1360534386-172.17.0.2-1709649280877 is not formatted. Formatting ... 2024-03-05 20:34:42,547 INFO common.Storage: Formatting block pool BP-1360534386-172.17.0.2-1709649280877 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1360534386-172.17.0.2-1709649280877/current 2024-03-05 20:34:42,549 INFO datanode.DataNode: Setting up storage: nsid=1352604391;bpid=BP-1360534386-172.17.0.2-1709649280877;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=1352604391;c=1709649280877;bpid=BP-1360534386-172.17.0.2-1709649280877;dnuuid=null 2024-03-05 20:34:42,551 INFO datanode.DataNode: Generated and persisted new Datanode UUID a635ee6c-fbe9-4831-ae72-c4e4d1357b5f 2024-03-05 20:34:42,561 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2024-03-05 20:34:42,628 INFO impl.FsDatasetImpl: Added new volume: DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a 2024-03-05 20:34:42,628 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2024-03-05 20:34:42,631 INFO impl.FsDatasetImpl: Added new volume: DS-b152ccff-2245-4380-8964-81c3c33cf9ca 2024-03-05 20:34:42,631 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2024-03-05 20:34:42,636 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2024-03-05 20:34:42,640 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2024-03-05 20:34:42,645 INFO impl.FsDatasetImpl: Adding block pool BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,646 INFO impl.FsDatasetImpl: Scanning block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 20:34:42,646 INFO impl.FsDatasetImpl: Scanning block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 20:34:42,680 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2024-03-05 20:34:42,681 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2024-03-05 20:34:42,684 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1360534386-172.17.0.2-1709649280877 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 37ms 2024-03-05 20:34:42,684 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1360534386-172.17.0.2-1709649280877 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 37ms 2024-03-05 20:34:42,684 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-1360534386-172.17.0.2-1709649280877: 38ms 2024-03-05 20:34:42,685 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 20:34:42,686 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 20:34:42,686 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1360534386-172.17.0.2-1709649280877/current/replicas doesn't exist 2024-03-05 20:34:42,686 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1360534386-172.17.0.2-1709649280877/current/replicas doesn't exist 2024-03-05 20:34:42,687 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 1ms 2024-03-05 20:34:42,687 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 1ms 2024-03-05 20:34:42,687 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-1360534386-172.17.0.2-1709649280877: 2ms 2024-03-05 20:34:42,688 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 20:34:42,694 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 20:34:42,695 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,695 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,697 INFO datanode.VolumeScanner: Now scanning bpid BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 20:34:42,697 INFO datanode.VolumeScanner: Now scanning bpid BP-1360534386-172.17.0.2-1709649280877 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 20:34:42,699 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a): finished scanning block pool BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,699 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-b152ccff-2245-4380-8964-81c3c33cf9ca): finished scanning block pool BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,699 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2024-03-05 20:34:42,699 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 3765120ms with interval of 21600000ms and throttle limit of -1ms/s 2024-03-05 20:34:42,704 INFO datanode.DataNode: Block pool BP-1360534386-172.17.0.2-1709649280877 (Datanode Uuid a635ee6c-fbe9-4831-ae72-c4e4d1357b5f) service to localhost/127.0.0.1:12222 beginning handshake with NN 2024-03-05 20:34:42,710 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-b152ccff-2245-4380-8964-81c3c33cf9ca): no suitable block pools found to scan. Waiting 1814399988 ms. 2024-03-05 20:34:42,710 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a): no suitable block pools found to scan. Waiting 1814399988 ms. 2024-03-05 20:34:42,719 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:42915, datanodeUuid=a635ee6c-fbe9-4831-ae72-c4e4d1357b5f, infoPort=46229, infoSecurePort=0, ipcPort=43473, storageInfo=lv=-57;cid=testClusterID;nsid=1352604391;c=1709649280877) storage a635ee6c-fbe9-4831-ae72-c4e4d1357b5f 2024-03-05 20:34:42,721 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:42915 2024-03-05 20:34:42,721 INFO blockmanagement.BlockReportLeaseManager: Registered DN a635ee6c-fbe9-4831-ae72-c4e4d1357b5f (127.0.0.1:42915). 2024-03-05 20:34:42,725 INFO datanode.DataNode: Block pool BP-1360534386-172.17.0.2-1709649280877 (Datanode Uuid a635ee6c-fbe9-4831-ae72-c4e4d1357b5f) service to localhost/127.0.0.1:12222 successfully registered with NN 2024-03-05 20:34:42,725 INFO datanode.DataNode: For namenode localhost/127.0.0.1:12222 using BLOCKREPORT_INTERVAL of 21600000msecs CACHEREPORT_INTERVAL of 10000msecs Initial delay: 0msecs; heartBeatInterval=3000 2024-03-05 20:34:42,739 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a for DN 127.0.0.1:42915 2024-03-05 20:34:42,739 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-b152ccff-2245-4380-8964-81c3c33cf9ca for DN 127.0.0.1:42915 2024-03-05 20:34:42,760 INFO BlockStateChange: BLOCK* processReport 0xbe9cef061c5f3476: Processing first storage report for DS-b152ccff-2245-4380-8964-81c3c33cf9ca from datanode a635ee6c-fbe9-4831-ae72-c4e4d1357b5f 2024-03-05 20:34:42,762 INFO BlockStateChange: BLOCK* processReport 0xbe9cef061c5f3476: from storage DS-b152ccff-2245-4380-8964-81c3c33cf9ca node DatanodeRegistration(127.0.0.1:42915, datanodeUuid=a635ee6c-fbe9-4831-ae72-c4e4d1357b5f, infoPort=46229, infoSecurePort=0, ipcPort=43473, storageInfo=lv=-57;cid=testClusterID;nsid=1352604391;c=1709649280877), blocks: 0, hasStaleStorage: true, processing time: 1 msecs, invalidatedBlocks: 0 2024-03-05 20:34:42,762 INFO BlockStateChange: BLOCK* processReport 0xbe9cef061c5f3476: Processing first storage report for DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a from datanode a635ee6c-fbe9-4831-ae72-c4e4d1357b5f 2024-03-05 20:34:42,762 INFO BlockStateChange: BLOCK* processReport 0xbe9cef061c5f3476: from storage DS-e1ea0168-1ee4-4a89-980a-f6480d59fa2a node DatanodeRegistration(127.0.0.1:42915, datanodeUuid=a635ee6c-fbe9-4831-ae72-c4e4d1357b5f, infoPort=46229, infoSecurePort=0, ipcPort=43473, storageInfo=lv=-57;cid=testClusterID;nsid=1352604391;c=1709649280877), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2024-03-05 20:34:42,776 INFO datanode.DataNode: Successfully sent block report 0xbe9cef061c5f3476 to namenode: localhost/127.0.0.1:12222, containing 2 storage report(s), of which we sent 2. The reports had 0 total blocks and used 1 RPC(s). This took 3 msecs to generate and 24 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2024-03-05 20:34:42,777 INFO datanode.DataNode: Got finalize command for block pool BP-1360534386-172.17.0.2-1709649280877 2024-03-05 20:34:42,789 INFO hdfs.MiniDFSCluster: Cluster is active 2024-03-05 20:34:42,792 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222